<?php

	require_once('./headers/horari.php');
    $nom = $_POST['nom'];
	$dni = $_POST['dni'];
	$tlf = $_POST['tlf'];
	
	$db = new bd();
	
	$h = new horari();
	$h->generarGrups();
	$h->generarHorari();
	//$query="Insert into participants values ('$dni','$nom','$tlf','m','e')"; 
	//$result=$db->executar($query);
	//echo $result;

	 
	 
?>